import 'package:flutterproject/generated/json/base/json_convert_content.dart';
import 'package:flutterproject/page/mine/children/assets/data/tong_piao_bean.dart';

TongPiaoBean $TongPiaoBeanFromJson(Map<String, dynamic> json) {
	final TongPiaoBean tongPiaoBean = TongPiaoBean();
	final String? wareName = jsonConvert.convert<String>(json['wareName']);
	if (wareName != null) {
		tongPiaoBean.wareName = wareName;
	}
	final String? contNo = jsonConvert.convert<String>(json['contNo']);
	if (contNo != null) {
		tongPiaoBean.contNo = contNo;
	}
	final String? price = jsonConvert.convert<String>(json['price']);
	if (price != null) {
		tongPiaoBean.price = price;
	}
	final String? wareId = jsonConvert.convert<String>(json['wareId']);
	if (wareId != null) {
		tongPiaoBean.wareId = wareId;
	}
	final double? canPickNum = jsonConvert.convert<double>(json['canPickNum']);
	if (canPickNum != null) {
		tongPiaoBean.canPickNum = canPickNum;
	}
	final String? fdate = jsonConvert.convert<String>(json['fdate']);
	if (fdate != null) {
		tongPiaoBean.fdate = fdate;
	}
	return tongPiaoBean;
}

Map<String, dynamic> $TongPiaoBeanToJson(TongPiaoBean entity) {
	final Map<String, dynamic> data = <String, dynamic>{};
	data['wareName'] = entity.wareName;
	data['contNo'] = entity.contNo;
	data['price'] = entity.price;
	data['wareId'] = entity.wareId;
	data['canPickNum'] = entity.canPickNum;
	data['fdate'] = entity.fdate;
	return data;
}